<template>
  <div>
    <First />
    <Second />
  </div>
</template>

<script>
import First from "./first.vue";
import Second from "./second.vue";
export default {
  name: "EventBusDemo",
  components: {
    First,
    Second
  },
  data() {
    return {
      name: "message"
    };
  },
  provide() {
    return {
      name: this.name
    }
  }
};
</script>
